<?php

namespace app\common\validate;

use think\Validate;

class Index extends Validate
{
    /**
     * 验证规则
     */
    protected $rule = [
        'page|页码'                 => 'require',
        'pageCount|页面数量'        => 'require',
        'companyTrendId|公司动态ID' => 'require',
    ];
    /**
     * 提示消息
     */
    protected $message = [
    ];
    /**
     * 验证场景
     */
    protected $scene = [
        'companyTrendsList'   => ['page', 'pageCount'],
        'companyTrendsDetail' => ['companyTrendId'],
    ];
}